package de.haw;

import de.haw.adt.interfaces.ITimeDiff;
import de.haw.physics.Acceleration;
import de.haw.vehicle.IVehicle;
import de.haw.world.IWorld;

public class Controller {
	private Acceleration acceleration;
	public Controller(IVehicle vehicle, IWorld world) {
		acceleration = new Acceleration(vehicle, world);
		
	}
	public void accelerate(ITimeDiff deltaTime) {
		acceleration.accelerate(deltaTime);
	}
	
	public void brake(ITimeDiff deltaTime) {
		acceleration.brake(deltaTime);
	}
}